<?$this->_extends("_layouts/index_layout");?>
<?$this->_block("contents");?>
<script language="javascript">
$(function(){
	$('.item_2').hover(function() {
		$(this).toggleClass('item_2_current');
	});
});
</script>

<div class="main">
  <?php $this->_control("newsleft");?>
  <div class="ihead720 fright magin20b">
    <div class="ff1 left magin5l"><a href="<?php echo url('index');?>">首页</a> > 近期考试安排</div>
  </div>
  
  <div>

    <div class="ww320 colorbg gwqd ff2">考试名称 </div>
    <div class="ww150 colorbg gwqd ff2">报名时间</div>
    <div class="ww150 colorbg gwqd ff2">考试时间</div>
    <?php
	$count_test = 0; 
	foreach ($list as $test) {
		$count_test ++;
		$colorbg2 = '';
		if($count_test % 2){
			$colorbg2 = 'colorbg2';	
		}	
	?>
    <div class="ww320 gwqd ff3 <?php echo $colorbg2;?>"><span class="ff3"><?php echo $test['name'];?></span></div>
    <div class="ww150 gwqd ff3 <?php echo $colorbg2;?>"><?php echo $test['bm_date'];?></div>
    <div class="ww150 gwqd ff3 <?php echo $colorbg2;?>"><?php echo date('n月j日', $test['test_date']);?></div>
    <?php }?>
  </div>
  
  <div class="fright magin20t">
    <?php $this->_control("pagination2", "", array('pagination'=>$pager));?>
  </div>
  <div class="clear"></div>
</div>
<?$this->_endblock();?>
